
var ipc = require('electron').ipcRenderer
var closeButton = document.getElementById('closeApp');
closeButton.addEventListener('click',function(){
    ipc.send('close-main-window');
})

var minizeButton = document.getElementById('minizeApp');
minizeButton.addEventListener('click',function(){
    ipc.send('hide-window');
})

